﻿@model Mvc.Models.UserRole

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>UserRole</legend>
        <p>
            @Html.DropDownList("UserId", String.Empty)
            

        </p>
        <p>
            @Html.DropDownList("RoleId", String.Empty)
          

        </p>


        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
